

using GoodDotNet.Core.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace GoodDotNet.Core.Entity
{
	 [Table("admin_role")]
	public class AdminRole:IEntity{
		
		/// <summary>
		/// 
		/// </summary>
		
		[Key]
		
		[Column("Id")]
		public int Id{ get; set; }
		
		/// <summary>
		/// 角色名称
		/// </summary>
		
		[Column("role_name")]
		public string RoleName{ get; set; }
		
		/// <summary>
		/// 角色说明
		/// </summary>
		
		[Column("description")]
		public string? Description{ get; set; }
		
		/// <summary>
		/// 是否删除
		/// </summary>
		
		[Column("deleted")]
		public int Deleted{ get; set; }
		
		/// <summary>
		/// 插入时间
		/// </summary>
		
		[Column("insert_time")]
		public DateTime? InsertTime{ get; set; }
		
		/// <summary>
		/// 管理员id
		/// </summary>
		
		[Column("uid")]
		public long Uid{ get; set; }
		
		/// <summary>
		/// 更新时间
		/// </summary>
		
		[Column("update_time")]
		public DateTime? UpdateTime{ get; set; }
		
		/// <summary>
		/// 权限
		/// </summary>
		
		[Column("grade")]
		public int Grade{ get; set; }
		
		/// <summary>
		/// 
		/// </summary>
		
		[Column("site")]
		public int Site{ get; set; }
		
	}
}